<script lang="ts">
import {defineComponent} from 'vue'

export default defineComponent({
  name: "Student",
  data(){
    return {
      studentName: '张三',
      age: 18
    }
  }
})
</script>

<template>
  <div>
    <h2>学生姓名：{{studentName}}</h2>
    <h2>学生年龄：{{age}}</h2>
  </div>
</template>

<style scoped>

</style>
